package com.bjpowernode.mybatis.mapper;

import com.bjpowernode.mybatis.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {
    int insertStudent(Student stu);
    List<Student> selectByIdRetMany(Long[] ids);
    /**
     *
     * */
    Student selectById(Long id);

    List<Student> selectByNameAndSex(@Param("name") String name, @Param("sex") String sex);
}
